package com.xydtech.ecard.ecard.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xydtech.common.annotation.Excel;
import com.xydtech.common.core.domain.BaseEntity;

import java.util.Date;
import java.util.List;

/**
 * 电子名片个人信息对象 ecard_person_info
 *
 * @author yuzhiguo
 * @date 2024-08-26 下午2:35
 */
public class EcardApiPersonInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 个人主键ID */
    private Long id;

    /** 个人客户类型，1：农户，2：新市民 */
    @Excel(name = "个人客户类型")
    private Integer perType;

    /** 客户姓名 */
    @Excel(name = "客户姓名")
    private String perCustName;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String perCustIdcard;

    /** 身份证头像面 */
    @Excel(name = "身份证头像面")
    private String perIdcardHead;

    /** 身份证国徽面 */
    @Excel(name = "身份证国徽面")
    private String perIdcardBadge;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String perCustPhone;

    /** 是否户主：是-T否-F */
    @Excel(name = "是否户主：是-T否-F")
    private String perIsHouseholder;

    /** 婚姻状况 */
    @Excel(name = "婚姻状况")
    private String perMaritalStatus;

    /** 居住状况 */
    @Excel(name = "居住状况")
    private String perResidentialStatus;

    /** 居住地址 */
    @Excel(name = "居住地址")
    private String perResidentialAddress;

    /** 营销重点（多条记录逗号隔开） */
    @Excel(name = "营销重点", readConverterExp = "多=条记录逗号隔开")
    private String perMarketingFocus;

    /** 业务标签（多条记录逗号隔开） */
    @Excel(name = "业务标签", readConverterExp = "多=条记录逗号隔开")
    private String perBusinessLabel;

    /** 个人标签（多条记录逗号隔开） */
    @Excel(name = "个人客户标签", readConverterExp = "多=条记录逗号隔开")
    private String perLabel;

    /** 个人层级 */
    @Excel(name = "个人客户层级")
    private String perLevel;

    /** 网格表关联id */
    @Excel(name = "网格表关联id")
    private Long perAreaId;

    /** 创建人注册ID */
    @Excel(name = "创建人注册ID")
    private Long creatorId;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creationTime;

    /** 创建人机构id */
    @Excel(name = "创建人机构id")
    private Long deptId;

    /** 管户人id */
    @Excel(name = "管户人id")
    private Long managementPersonnelId;

    /** 状态0停用,1启用 */
    @Excel(name = "状态0停用,1启用")
    private Integer state;

    /** 联系人 */
    private String contactsName;
    /** 联系人电话 */
    private String contactsPhone;
    /** 客户经理名称 */
    private String userName;
    /** 机构名称 */
    private String deptName;

    /** 拜访次数 */
    private String visitNumber;
    /** 最新拜访时间 */
    private Date lastVisitDate;
    /** 时间排序 */
    private String sortTime;
    /** 最大拜访时间 */
    private String maxbftime;
    /** 最大成员建档时间 */
    private String maxcytime;

    /** 是否自己，1全部，2自己 */
    private String oneself;

    /** 网格名称 */
    private String areaName;

    /** 坐标 */
    private String manageCoordinate;
    /** 地图地址 */
    private String manageMapAddress;
    /** 门派照片 */
    private String manageBusinessPic;

    /** 个人客户类型 */
    private String perTypeName;

    /** 成员信息 */
    private List<EcardApiMerchantPartInfo> ecardApiMerchantPartInfos;

    /** 字典机构查询条件 */
    private Long dictDeptId;

    /** 经营/工作信息 */
    private EcardApiPersonManageWork ecardApiPersonManageWork;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setPerType(Integer perType)
    {
        this.perType = perType;
    }

    public Integer getPerType()
    {
        return perType;
    }
    public void setPerCustName(String perCustName)
    {
        this.perCustName = perCustName;
    }

    public String getPerCustName()
    {
        return perCustName;
    }
    public void setPerCustIdcard(String perCustIdcard)
    {
        this.perCustIdcard = perCustIdcard;
    }

    public String getPerCustIdcard()
    {
        return perCustIdcard;
    }
    public void setPerIdcardHead(String perIdcardHead)
    {
        this.perIdcardHead = perIdcardHead;
    }

    public String getPerIdcardHead()
    {
        return perIdcardHead;
    }
    public void setPerIdcardBadge(String perIdcardBadge)
    {
        this.perIdcardBadge = perIdcardBadge;
    }

    public String getPerIdcardBadge()
    {
        return perIdcardBadge;
    }
    public void setPerCustPhone(String perCustPhone)
    {
        this.perCustPhone = perCustPhone;
    }

    public String getPerCustPhone()
    {
        return perCustPhone;
    }
    public void setPerIsHouseholder(String perIsHouseholder)
    {
        this.perIsHouseholder = perIsHouseholder;
    }

    public String getPerIsHouseholder()
    {
        return perIsHouseholder;
    }
    public void setPerMaritalStatus(String perMaritalStatus)
    {
        this.perMaritalStatus = perMaritalStatus;
    }

    public String getPerMaritalStatus()
    {
        return perMaritalStatus;
    }
    public void setPerResidentialStatus(String perResidentialStatus)
    {
        this.perResidentialStatus = perResidentialStatus;
    }

    public String getPerResidentialStatus()
    {
        return perResidentialStatus;
    }
    public void setPerResidentialAddress(String perResidentialAddress)
    {
        this.perResidentialAddress = perResidentialAddress;
    }

    public String getPerResidentialAddress()
    {
        return perResidentialAddress;
    }
    public void setPerMarketingFocus(String perMarketingFocus)
    {
        this.perMarketingFocus = perMarketingFocus;
    }

    public String getPerMarketingFocus()
    {
        return perMarketingFocus;
    }
    public void setPerBusinessLabel(String perBusinessLabel)
    {
        this.perBusinessLabel = perBusinessLabel;
    }

    public String getPerBusinessLabel()
    {
        return perBusinessLabel;
    }
    public void setPerLabel(String perLabel)
    {
        this.perLabel = perLabel;
    }

    public String getPerLabel()
    {
        return perLabel;
    }
    public void setPerLevel(String perLevel)
    {
        this.perLevel = perLevel;
    }

    public String getPerLevel()
    {
        return perLevel;
    }
    public void setPerAreaId(Long perAreaId)
    {
        this.perAreaId = perAreaId;
    }

    public Long getPerAreaId()
    {
        return perAreaId;
    }
    public void setCreatorId(Long creatorId)
    {
        this.creatorId = creatorId;
    }

    public Long getCreatorId()
    {
        return creatorId;
    }
    public void setCreationTime(Date creationTime)
    {
        this.creationTime = creationTime;
    }

    public Date getCreationTime()
    {
        return creationTime;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }
    public void setManagementPersonnelId(Long managementPersonnelId)
    {
        this.managementPersonnelId = managementPersonnelId;
    }

    public Long getManagementPersonnelId()
    {
        return managementPersonnelId;
    }
    public void setState(Integer state)
    {
        this.state = state;
    }

    public Integer getState()
    {
        return state;
    }

    public String getContactsName() {
        return contactsName;
    }

    public void setContactsName(String contactsName) {
        this.contactsName = contactsName;
    }

    public String getContactsPhone() {
        return contactsPhone;
    }

    public void setContactsPhone(String contactsPhone) {
        this.contactsPhone = contactsPhone;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getVisitNumber() {
        return visitNumber;
    }

    public void setVisitNumber(String visitNumber) {
        this.visitNumber = visitNumber;
    }

    public Date getLastVisitDate() {
        return lastVisitDate;
    }

    public void setLastVisitDate(Date lastVisitDate) {
        this.lastVisitDate = lastVisitDate;
    }

    public String getSortTime() {
        return sortTime;
    }

    public void setSortTime(String sortTime) {
        this.sortTime = sortTime;
    }

    public String getMaxbftime() {
        return maxbftime;
    }

    public void setMaxbftime(String maxbftime) {
        this.maxbftime = maxbftime;
    }

    public String getMaxcytime() {
        return maxcytime;
    }

    public void setMaxcytime(String maxcytime) {
        this.maxcytime = maxcytime;
    }

    public String getOneself() {
        return oneself;
    }

    public void setOneself(String oneself) {
        this.oneself = oneself;
    }

    public List<EcardApiMerchantPartInfo> getEcardApiMerchantPartInfos() {
        return ecardApiMerchantPartInfos;
    }

    public void setEcardApiMerchantPartInfos(List<EcardApiMerchantPartInfo> ecardApiMerchantPartInfos) {
        this.ecardApiMerchantPartInfos = ecardApiMerchantPartInfos;
    }

    public EcardApiPersonManageWork getEcardApiPersonManageWork() {
        return ecardApiPersonManageWork;
    }

    public void setEcardApiPersonManageWork(EcardApiPersonManageWork ecardApiPersonManageWork) {
        this.ecardApiPersonManageWork = ecardApiPersonManageWork;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public String getManageCoordinate() {
        return manageCoordinate;
    }

    public void setManageCoordinate(String manageCoordinate) {
        this.manageCoordinate = manageCoordinate;
    }

    public String getManageMapAddress() {
        return manageMapAddress;
    }

    public void setManageMapAddress(String manageMapAddress) {
        this.manageMapAddress = manageMapAddress;
    }

    public String getPerTypeName() {
        return perTypeName;
    }

    public void setPerTypeName(String perTypeName) {
        this.perTypeName = perTypeName;
    }

    public String getManageBusinessPic() {
        return manageBusinessPic;
    }

    public void setManageBusinessPic(String manageBusinessPic) {
        this.manageBusinessPic = manageBusinessPic;
    }

    public Long getDictDeptId() {
        return dictDeptId;
    }

    public void setDictDeptId(Long dictDeptId) {
        this.dictDeptId = dictDeptId;
    }

    @Override
    public String toString() {
        return "EcardApiPersonInfo{" +
                "id=" + id +
                ", perType=" + perType +
                ", perCustName='" + perCustName + '\'' +
                ", perCustIdcard='" + perCustIdcard + '\'' +
                ", perIdcardHead='" + perIdcardHead + '\'' +
                ", perIdcardBadge='" + perIdcardBadge + '\'' +
                ", perCustPhone='" + perCustPhone + '\'' +
                ", perIsHouseholder='" + perIsHouseholder + '\'' +
                ", perMaritalStatus='" + perMaritalStatus + '\'' +
                ", perResidentialStatus='" + perResidentialStatus + '\'' +
                ", perResidentialAddress='" + perResidentialAddress + '\'' +
                ", perMarketingFocus='" + perMarketingFocus + '\'' +
                ", perBusinessLabel='" + perBusinessLabel + '\'' +
                ", perLabel='" + perLabel + '\'' +
                ", perLevel='" + perLevel + '\'' +
                ", perAreaId=" + perAreaId +
                ", creatorId=" + creatorId +
                ", creationTime=" + creationTime +
                ", deptId=" + deptId +
                ", managementPersonnelId=" + managementPersonnelId +
                ", state=" + state +
                ", contactsName='" + contactsName + '\'' +
                ", contactsPhone='" + contactsPhone + '\'' +
                ", userName='" + userName + '\'' +
                ", deptName='" + deptName + '\'' +
                ", visitNumber='" + visitNumber + '\'' +
                ", lastVisitDate=" + lastVisitDate +
                ", sortTime='" + sortTime + '\'' +
                ", maxbftime='" + maxbftime + '\'' +
                ", maxcytime='" + maxcytime + '\'' +
                ", oneself='" + oneself + '\'' +
                ", areaName='" + areaName + '\'' +
                ", manageCoordinate='" + manageCoordinate + '\'' +
                ", manageMapAddress='" + manageMapAddress + '\'' +
                ", manageBusinessPic='" + manageBusinessPic + '\'' +
                ", perTypeName='" + perTypeName + '\'' +
                ", dictDeptId='" + dictDeptId + '\'' +
                ", ecardApiMerchantPartInfos=" + ecardApiMerchantPartInfos +
                ", ecardApiPersonManageWork=" + ecardApiPersonManageWork +
                '}';
    }
}
